package com.jike.noobmoney.adapter;


import android.content.Context;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.resource.bitmap.RoundedCorners;
import com.bumptech.glide.request.RequestOptions;
import com.jike.noobmoney.R;
import com.jike.noobmoney.contants.ConstantValue;
import com.jike.noobmoney.entity.NewEntity;
import com.jike.noobmoney.entity.TaskListEntity;


/**
 * Created by kekex on 2018/9/8.
 * 首页公告列表
 */

public class NewListAdapter extends BaseRecyclerAdapter<NewEntity.MessageBean> {


    private Context context;

    public NewListAdapter(Context context) {
        super(R.layout.new_list_item);
        this.context = context;
    }

    @Override
    protected void onBindViewHolder(SmartViewHolder holder, NewEntity.MessageBean item, int position) {
        holder.text(R.id.tv_title, item.getTitle());
        holder.text(R.id.tv_time,   item.getCreatetime());
    }
}
